local skel = fk.CreateSkill {
  name = "emo__shenpantzh",
  tags = {Skill.Compulsory},
}

Fk:loadTranslationTable{
  ["emo__shenpantzh"] = "审判庭之火",
  [":emo__shenpantzh"] = "锁定技，你造成和受到的伤害视为火属性，若本为雷属性，伤害+1。",

  ["$emo__shenpantzh1"] = "我的剑将劈开海潮！",
  ["$emo__shenpantzh2"] = "我的心会作出判决！",
}

skel:addEffect(fk.PreDamage, {
  anim_type = "offensive",
  can_trigger = function (self, event, target, player, data)
    return player:hasSkill(skel.name) and (data.from == player or data.to == player)
  end,
  on_use = function (self, event, target, player, data)
    if data.damageType == fk.ThunderDamage then
      data:changeDamage(1)
    end
    data.damageType = fk.FireDamage
  end,
})

return skel
